﻿using System;
using System.Runtime.Serialization;

using Dynamic.Core.Attributes;

namespace Dynamic.Core.Types
{
    /// <summary>
    /// 生成语言类型枚举
    /// </summary>
    [Flags]
    [DataContract]
    [EnumType(DisplayName = "生成语言类型", Name = "GenerateLanguageType")]
    public enum GenerateLanguageType
    {
        /// <summary>
        /// C#
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "C#", Name = "CSharp")]
        CSharp,

        /// <summary>
        /// VB
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "VB", Name = "VisualBasic")]
        VisualBasic,
    }
}
